﻿using RAP.Framework.Libary.Utils;
using RAP.Framework.Libary.DomTemplateBuilder.Attributes;
using RAP.Framework.Libary.DomTemplateBuilder.Handler;

namespace RAP.Framework.Libary.DomTemplateBuilder.Element
{
  /// <summary>
  /// 线程休眠节点
  /// </summary>
  [TagHandler(typeof(SleepHandler))]
  public class Sleep : ElementBase
  {
    public int Timeout
    {
      get
      {
        return this.ToInt32("Timeout", 0);
      }
    }
  }
}
